<?
session_start();
$_SERVER['PHP_AUTH_USER'] = "guest";
$_SERVER['PHP_AUTH_PW'] = "guest";
$_SESSION['user_id'] = 3;
$_SESSION["expires"] = time()+(45*60);
$_SESSION["loginStamp"] = date("Y-m-d H:i:s");
$_SESSION["loginIP"] = $_SERVER['REMOTE_ADDR'];
header( 'Location: index.php' )
?>